package com.simulate2.demo.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Entity;
import javax.persistence.Id;
import java.math.BigDecimal;

/**
 * 每日统计类，统计每日的已激活的总积分和当日的佣金总额
 */
@Entity
@Data
@AllArgsConstructor
@NoArgsConstructor
public class OrdersByDay {
    @Id
    private int dateId;//日期

    private BigDecimal allCreditToday;//截止到当日已激活的总积分
    private BigDecimal allCommisionToday;//当日的总分拥额

}
